﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RemoteController
{
    public class BathroomLightOnCommand : Command
    {

        Light light;

		public BathroomLightOnCommand(Light light)
		{
			this.light = light;
		}

		#region Command Members

		public object Execute()
		{
			return light.On();
		}
		
		public object Undo()
		{
			return light.Off();
		}
		#endregion

    }
}
